package cz.jarec.sender;

import cz.jarec.sender.exception.InvalidPhoneNumberException;
import cz.jarec.sender.exception.SenderInternalException;

public interface Sender {

	public abstract void sendSms(String number, String text)
			throws InvalidPhoneNumberException, SenderInternalException;

	/**
	 * @return the portalUrl
	 */
	public abstract String getPortalUrl();

	/**
	 * @param portalUrl
	 *            the portalUrl to set
	 */
	public abstract void setPortalUrl(String portalUrl);

	/**
	 * @return the username
	 */
	public abstract String getUsername();

	/**
	 * @param username
	 *            the username to set
	 */
	public abstract void setUsername(String username);

	/**
	 * @return the password
	 */
	public abstract String getPassword();

	/**
	 * @param password
	 *            the password to set
	 */
	public abstract void setPassword(String password);

}